package cn.wolfcode.mp.mapper;

import cn.wolfcode.mp.domain.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    List<Employee> listByXmlSingle();

    List<Employee> listByXmlJoin();

    Employee selectByUsername(String username);

    Employee selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
